namespace ZMap.Source
{
    using TileGrid = TileGrid.TileGrid;

    /// <summary>
    /// 瓦片源
    /// </summary>
    public interface ITileSource : ISource
    {
        bool Opaque { get; set; }

        double PixelRatio { get; set; }

        TileGrid TileGrid { get; set; }

        int ZDirection { get; set; }

        TileSourceOptions Options { get; set; }
        
        TileCache TileCache { get; set; }

        /// <summary>
        /// 清除所有缓存的瓦片
        /// </summary>
        void Clear();
    }
}